home *** CD-ROM | disk | FTP | other *** search
/ New Star Software Collection / NSS_Collection.iso / 3-069 qemm 603 / 1.ima / DVMAN / CH7.DEV < prev    next >
Encoding:
Text File  |  1991-10-08  |  51.1 KB  |  1,193 lines

  1. Chapter 7 
  2.  
  3. Changing a Program's Information
  4.  
  5.  The Change a Program menu gives you access to the complete set
  6. of information that DESQview has for a program ~dash~ in two
  7. screens. This is the information that is read in from/written out
  8. to the .DVP file DESQview requires to run the program. The first
  9. screen shows the basic information about the program. The second
  10. screen shows the advanced program information.
  11.  
  12. ~Heading~ Telling DESQview About a Program
  13.  
  14.  For DESQview to run a program, it needs to know something about
  15. the program. At a mimimum, DESQview needs to know where the
  16. program is stored, the DOS command that starts it up, and how
  17. much memory it needs. Also, there are additional settings you can
  18. use to configure the program more precisely.
  19.  
  20. ~Subhead~ The Add a Program Command
  21.  
  22.  You install a program using the Add a Program command (see pages
  23. 62-63). To make this as easy as possible, DESQview comes with all
  24. the necessary information (except where the program is stored)
  25. already set up for many popular programs. All you need do is tell
  26. DESQview which programs you want.
  27.  
  28. ~Subhead~ Understanding How DESQview Runs a Program
  29.  
  30.  All DESQview's knowledge about the programs on the Add a Program
  31. menu is contained inthe file, DESQVIEW.DIR. When you install a
  32. program, DESQview extracts the relevant information from this
  33. file and creates a DESQview Program Information File (DVP), named
  34. xx- PIF.DVP, that it stores on the drive and directory from which
  35. you started DESQview (most commonly, C:\DV) ~dash~ where xx are
  36. the keys you use to select the program on the Open Window menu.
  37.  
  38. DESQview also comes with special "loaders" that permit many of
  39. the popular programs that are "misbehaved" to run in small
  40. windows and in background anyway (see page 112). "Loaders" have
  41. the name xx-LOAD.COM, and are automatically copied onto your hard
  42. disk for you when you install DESQview.
  43.  
  44. Each time you select a program to start up from the Open Window
  45. menu, DESQview reads its DVP to determine how to configure it and
  46. what DOS command to use to start it up. If the program has a
  47. "loader," that "loader" is used automatically to load the program
  48. (unless you override it).
  49.  
  50. If the program you want to install isn't listed on the Add a
  51. Program menu, install it using the Add OTHER Program command (see
  52. Adding A program, Chapter 3). You can use a Program Information
  53. File (PIF), if you have one. If not, just enter the necessary
  54. information.
  55.  
  56. ~Subhead~ The Change a Program Command
  57.  
  58.  The Change a Program command lets you edit the information in a
  59. program's DVP. Just display the Change a Program menu and make
  60. the changes you want. When you press <Enter>, to indicate you're
  61. finished, the current DVP is saved with the extension BAK and
  62. then the program's DVP is updated to reflect the changes you
  63. made. The changes you make don't take effect until the next time
  64. you start up the program ~dash~ they don't apply to any instances
  65. of the program that are currently running.
  66.  
  67. ~Heading~ Overview of the Change a Program Screens
  68.  
  69.  Change a Program consists of two screens of data and 15 options
  70. that you can turn ON or OFF (by entering Y or N in the space
  71. provided next to the option's name). They group into five overall
  72. factors that you can control for a program:
  73.  
  74. ~Item~ What appears on the Open Window menu for the program.
  75.  
  76. ~Item~ What DOS command is used to start up the program.
  77.  
  78. ~Item~ How memory is allocated for the program.
  79.  
  80. ~Item~ How the program behaves as you run it in DESQview.
  81.  
  82. ~Item~ How the program behaves on an 80386 PC with QEMM-386
  83. (DESQview386).
  84.  
  85. The most important information is listed on the first (basic)
  86. screen. As a rule, you don't need to be concerned about the
  87. information on the second (advanced) screen. It's primarily used
  88. to fine tune how your program runs in DESQview and by the program
  89. developer who preconfigured the program for you.
  90.  
  91. ~Subhead~ Conventions
  92.  
  93.  The remainder of this chapter discusses the factors listed
  94. above. To help you find the description of a particular field or
  95. option:
  96.  
  97.  Entries that appear in the form Program Name identify the major
  98. description of a particular field or option on the first (basic)
  99. Change a Program screen.     Entries that appear in the form
  100. Initial Mode identify the major description of a particular field
  101. or option on the second (advanced) Change a Program screen.    
  102.  
  103. ~Subhead~ Creating an Open Window Menu Entry
  104.  
  105.  The entry that appears on the Open Window menu for a program is
  106. defined by:
  107.  
  108.  The Program Name field, which specifies whatever text you wantup
  109. to 30 characters long. This is also the name that appears on the
  110. top frame bar of the program's window when the program is
  111. running.  The Keys to Use on Open Menu field, which specifies the
  112. keys you want to use to select the program. The keys should
  113. consist of either one or two characters.  (We recommend you use
  114. two characters to avoid future naming conflicts.) The keys you
  115. pick must be different from any that are currently listed.   
  116. These keys also define the file names DESQview uses for files
  117. related to the program (also see Appendix G):    ~dash~  xx-
  118. PIF.DVP is the program's DESQview Program Information File (DVP).
  119.  
  120.  ~dash~  xx-SCRIP.DVS is the program's scripts file ~dash~ if
  121. any.
  122.  
  123.  ~dash~  xx-LOAD.COM is the program's "loader" (customization
  124. file) ~dash~ if any.
  125.  
  126. ~Heading~ Starting Up a Program
  127.  
  128.  Perhaps the most important information you must supply DESQview
  129. about a program is how to start it up:
  130.  
  131.  The Program field specifies the  DOS command used to start up
  132. the program. Basically, you should enter  the command you type to
  133. DOS to start up the program outside of DESQview,  preceded by the
  134. path (drive and directory) where the program  is storednamely,
  135. P:\ProgDir\Program. However, the exact  form entered determines:  
  136. ~dash~  Whether DOS or DESQview will load the program.
  137.  
  138.  ~dash~  Whether a special DESQview "loader" will be used to load
  139. the program.
  140.  
  141.  ~dash~  Whether you're creating a DOS window rather than loading
  142. a program.
  143.  
  144.  The remainder of this section, Starting Up a Program, discusses
  145. this.
  146.  
  147.  The Parameters field specifies any  additional information you
  148. want to supply to the program when you  start it up. So,
  149. effectively, the Program field appears to the program  as if it
  150. also containsParameters. To supply  variable information, enter ?
  151. as the last character.  DESQview will pause and let you manually
  152. complete the command before  it loads the program. The Directory
  153. field specifies the path on which you've stored the  data files
  154. for the program. If this is the same as the path where  you've
  155. stored the program, you can omit the path in the Program field.
  156. If you leave the Directory field empty, the program's data files
  157. are assumed to be on the path from which you started DESQview
  158. (most commonly, C:\DV). So, as a rule, you should always specify
  159. a path in the Directory field.
  160.  
  161.  Some programs require that the default path be the one on which
  162. the program is stored to work properly. Programs that use
  163. overlays often require this. In such cases, you must specify
  164. P:\ProgDir in the Directory field and cannot specify a separate
  165. D:\DataDir data path.
  166.  
  167. When you install a program, the Path field information you
  168. specify on the Program Location menu (see step 4 on page 63) or
  169. on the Add OTHER Program menu (see step 2 on page 64) is entered
  170. in the Directory field rather than in the Program field. This
  171. allows the program to operate properly in the most common case
  172. ~dash~  when the program and its data files are both on the same
  173. path. However, if the program is on a different path than its
  174. data files, you must manually modify the Program and Directory
  175. fields to reflect this.
  176.  
  177.  The Program, Parameters, and Directory fields can each be up to
  178. 64 characters long.
  179.  
  180. ~Subhead~ Controlling How a Program is Loaded
  181.  
  182.  Given that your system and the Change a Program menu for the
  183. program are configured as shown below:
  184.  
  185. ~Begin Table~ 
  186.  
  187. Path in effect when you started up DESQview - InitialPath
  188. Path where DESQview is stored -  C:\DV
  189.  
  190. Contents of the Program field  -  P:\ProgDir\Program
  191. Contents of the Parameters field -  Parameters
  192. Contents of the Directory field  - D:\DataDir
  193.  
  194. ~End Table~ 
  195.  
  196. DESQview loads and runs the program by logically performing the
  197. following sequence of DOS commands:
  198.  
  199. 1. PATH InitialPath; C:\DV; P:\ProgDir <Enter> 
  200. 2. D: <Enter> 
  201. 3. CD\DataDir <Enter> 
  202. 4. Program (+ Parameters , if any)<Enter>
  203.  
  204. If D: or \DataDir is omitted, the corresponding command (2 or 3)
  205. is omitted. If you omit the contents of the Directory field
  206. (D:\DataDir) completely, the default path will be the path at the
  207. time you started DESQview (most commonly, C:\DV). If DESQview
  208. ~dash~ rather than DOS (see below) ~dash~  loads the program, the
  209. PATH command (1) is not performed ~dash~ the program must be
  210. stored on P:\ProgDir or C:\DV or DESQview won't find the
  211. executable file.
  212.  
  213. ~Subhead~ When DOS Loadsa Program
  214.  
  215.  Whether a program is loaded by DOS or by DESQview is determined
  216. by the format of the program file name in the Program field. If
  217. the file name does not have an extension ~dash~ for example, 123
  218. ~dash~ DOS is started up and used to load the program. DOS is
  219. started up by loading the file COMMAND.COM, which must be in the
  220. root directory of the drive from which you started DESQview.
  221.  
  222. Using COMMAND.COM has the advantage that you can load batch
  223. files, but the disadvantage that loading requires miminum
  224. memoryof 32K ~dash~ enough to load COMMAND.COM. and a program of
  225. up to about 25-27K.
  226.  
  227. ~Subhead~ When DESQview Loads a Program
  228.  
  229.  DESQview can bypass COMMAND.COM and load a program directly
  230. ~dash~ but not a batch file. If you want DESQview to load the
  231. program, rather than DOS:
  232.  
  233. ~Item~ Enter the program name as Program.EXE or Program.COM,
  234. rather than just Program ~dash~ for example, 123.EXE. (Lotus 123
  235. is usually automatically installed and uses a DESQview loader
  236. ~dash~ which fills in Lotus.EXE for you.)
  237.  
  238. ~Item~ Turn ON (Y) the Close on exit option.
  239.  
  240.  Letting DESQview load the program instead of DOS, has the
  241. advantage that you can load programs as small as 1K, rather than
  242. 32K. The Close on exit option must be turned ON because there
  243. won't be any command processor available to accept your commands
  244. when the program terminates.
  245.  
  246. ~Subhead~ When a Program Has a Custom DESQview Loader
  247.  
  248.  When a program has a special DESQview "loader", the Program
  249. field contains the command to start up the "loader"
  250. (L:\LoadDir\xx- LOAD.COM) and the Parameters field contains the
  251. command to start up the program plus any program parameters
  252. (P:\ProgDir\Program.EXT Parameters) ~dash~ where xx-LOAD.COM is
  253. the name of the "loader" for the program. Usually, L:\LoadDir is
  254. C:\DV ~dash~ but it doesn't have to be. The program extension,
  255. .EXT, must be specified.
  256.  
  257. The Program and Directory fields are set up for you automatically
  258. when you install the program, so normally you don't have to
  259. concern yourself about "loaders."
  260.  
  261. ~Subhead~ When a Program is Loaded from a Batch File
  262.  
  263.  You can also enter the name of a batch file in the Program
  264. field. Normally, when you run a program (or programs) from a
  265. batch file, you should turn OFF the Close on exit option. If this
  266. option is ON, the window will close automatically after running
  267. the first program in the batch file. To close the window on
  268. finishing the batch file, put EXIT as its last command. (If the
  269. batch file runs only one program, and it's the last command in
  270. the file, you can leave Close on exit ON.)
  271.  
  272. Set Memory Size (in K) for a batch file to the size of the
  273. largest program plus any TSRs your batch loads and 7K for DOS
  274. COMMAND.COM.
  275.  
  276. ~Begin footnote~
  277.  
  278. Certain versions or brands of DOS may require less than 7K.
  279.  
  280. ~ End footnote~
  281.  
  282.  The minimum memory size for a batch loader is 32K.
  283.  
  284. ~Subhead~ Creating a DOS Window
  285.  
  286.  To create a DOS window, leave the Program field empty, or enter
  287. a DOS command ~dash~ for example, PROMPT. If you enter a DOS
  288. command, be sure to put the parameters in the Parameters field
  289. and not in the Program field.
  290.  
  291. ~Subhead~ When a Program is Full-Screen-Only
  292.  
  293.  There are two types of programs: those that can run in small
  294. windows (and in background) and those that can't, and therefore
  295. run full-screen-only:
  296.  
  297.  The  Writes text directly to screen option specifies, when ON,
  298. that the program writes  directly to the screen and, therefore,
  299. requires the entire screen  when it's running. It cannot run in a
  300. small window unless you  are running on a 80386 with QEMM-386 and
  301. the option, Virtualize text/graphics  , is ON. See the following
  302. page for a short discussion of Virtualization  and Appendix K for
  303. more information. To find out whether a program writes directly
  304. to the screen, turn this option OFF and run the program in a
  305. small window. If any program information appears outside the
  306. window boundaries, it writes directly to the screen, so you must
  307. turn this option back ON. All graphics based programs write
  308. directly to the screen.
  309.  
  310. ~Subhead~ When a Program is Copy-Protected
  311.  
  312.  If a program is started from a copy-protected diskette, you can
  313. have DESQview remind you to load the diskette:
  314.  
  315.  The Requires floppy diskette option specifies, when ON, that the
  316. program resides  on a floppy diskette. When you start up the
  317. program, DESQview will  remind you to put the program diskette in
  318. the floppy drive.
  319.  
  320. ~Subhead~ When a Program Uses Serial Ports
  321.  
  322.  The Uses serial ports  (Y, N, 1, 2) option tells DESQview which,
  323. if any, serial ports  the program will use. Selecting 1 indicates
  324. COM1, selecting 2 indicates  COM2, selecting Yes (Y) means all
  325. ports, selecting No (N) means no  serial ports will be used by
  326. that program. You may not leave this  option blank.  DESQview
  327. will only allow a program access to those ports that it is 
  328. configured to use. This reduces the conflicts between two
  329. communications  programs running at the same time.  If you enter
  330. Y to specify ALL ports, DESQview will allow a program  to
  331. additionally access serial ports 3 or 4if you have these 
  332. additional ports. In addition, DESQview's Auto Dialer feature
  333. lets you select them for your modem.
  334.  
  335. ~Subhead~ Taking Advantage of an 80386 or i486 Processor.
  336.  
  337.  DESQview 386 is the combination of DESQview plus QEMM-386 (the
  338. Quarterdeck Expanded Memory Manager-386). This combination offers
  339. features not possible with any other configuration. 
  340.  
  341.  When running DESQview 386 on an 80386 or i486 PC, text, a CGA,
  342. Hercules, EGA or VGA programs can run in a "small window,"even
  343. when not "well-behaved". DESQview's ability to run most
  344.  
  345. ~Begin footnote~
  346.  
  347. Programs that run in video modes beyond the VGA standard, such as
  348. hi-res 256 color or hi-res 800 x 600 mode mode, cannot be
  349. virtualized. Also, programs running in 40 column text mode cannot
  350. be virtualized. 
  351.  
  352. ~End footnote~
  353.  
  354.  programs in small windows is accomplished by "virtualization."
  355. With virtualization ON, DESQview 386 automatically intercepts the
  356. video output of programs which write directly to the screen and
  357. manages the screen data itself. Since this uses more exPANDed
  358. memory, for performance reasons, you can control which programs
  359. DESQview 386 virtualizes.
  360.  
  361.  The Virtualize text/graphics (Y,  N, T) option specifies, when
  362. ON (Y), that DESQview should  keep the program from writing
  363. directly to the screen under all circumstances.  The program can
  364. then display its information in a DESQview window  and run in
  365. background because DESQview is managing the program and  the
  366. portion of the video output that displays in the window.
  367.  
  368. ~dash~  When you specify No (OFF), DESQview's action is dependent upon
  369. how you set the Writes text directly to screen option. If your
  370. program writes directly to the screen, DESQview will not run your
  371. program in a small window. If your program does not write
  372. directly to the screen, DESQview will run the program in a small
  373. window.
  374.  
  375.  ~dash~  When you specify (T), for text only, DESQview will only
  376. virtualize the screen when your program is in text mode. If your
  377. program switches from text mode to graphics mode, the screen
  378. virtualization will stop. This option allows a program to run in
  379. a small window when in text mode, but use the screen directly
  380. when in graphics mode.
  381.  
  382.  ~dash~  Text mode virtualization causes very little performance
  383. degradation, whereas graphics virtualization can affect
  384. performance considerably ~dash~ especially on EGA displays, so
  385. you would not want to use this option unnecessarily.
  386.  
  387.  ~dash~  For a character based program (text program) like Lotus
  388. 1-2-3, (versions 1 and 2) use a DESQview loader whenever
  389. available, and don't virtualize. The loader file will contain all
  390. information necessary to run the program in a small window and in
  391. background. For a graphics program, set virtualization ON, and
  392. don't use a loader. Also, see Appendix K, More About Virtualization.
  393.  
  394.  The Share EGA when foreground/zoomed option specifies, when Yes
  395. (Y), for DESQview to allow  other EGA graphics programs to run in
  396. background. If you enter no  (N) to Share the EGA, DESQview will
  397. freeze EGA programs running in  background when your program is
  398. zoomed to a full screen window. If  you enter yes (Y), all EGA
  399. programs which are currently open in DESQview  windows will run
  400. more slowly.
  401.  
  402. ~dash~  If you want maximum performance in your
  403. foreground graphics program, you do not want other programs to be
  404. sharing your EGA hardware.
  405.  
  406.  ~dash~  You can dynamically change this option, using DESQview's
  407. Tune Performance command. Setting it here makes it the default
  408. start-up mode of the program.
  409.  
  410.  The Protection Level (0-3) option allows you to specify a
  411. protection level, if  one is needed.  DESQview uses the 80386
  412. processor's protection capabilities to give  you protection
  413. against misbehaved programs. Protection can result  in some
  414. degradation of your program's performance.  DESQview will
  415. exercise more protection  the higher the protection level
  416. selected. Selecting 0 tells DESQview  not to set up any special
  417. protection around your program. If you know  your program is
  418. reliable and works without crashing, we strongly suggest  that
  419. you do not set up any protection. If DESQview 386 detects that 
  420. the program is trying to do something which might damage
  421. DESQview,  DOS, or other programs, DESQview will post an error
  422. message (prior  to the damage being done) describing in technical
  423. terms the action  that seemed dangerous. You may then abort the
  424. program, or turn off  DESQview's protection and let the program
  425. proceed on its dangerous  course. Sometimes you will be given a
  426. third option, of allowing this  one violation to occur, but
  427. keeping the protection in place to detect  further violations. 
  428. Typically, you should abort the program if you get a protection
  429. violation.  Then, try increasing the memory size for the program
  430. and try it again.  If the violation no longer occurs, then the
  431. program probably required  more memory than you had previously
  432. given it, but it failed to detect  that it had insufficient
  433. memory. You might want to inform the program  developer of this.
  434. If the protection violations continue, then perhaps the program
  435. has a bug in it, or perhaps it is doing something which, although
  436. potentially dangerous, is really all right. You can try lowering
  437. the protection level (or setting it to 0) and hope for the best.
  438.  
  439. ~Heading~ Allocating the Memory for a Program
  440.  
  441.  You must supply DESQview information about how much memory a
  442. program requires:
  443.  
  444.  The Memory Size (in K) field specifies the minimum amount  of
  445. memory the program needs. Normally, this is the minimum amount 
  446. of memory needed to run the program. However, for very small
  447. programs  (under 32K), you must take into account the method used
  448. to load the  program. If DOS loads the program the minimum memory
  449. size is 32K.  If DESQview loads the program, the minimum size is
  450. 1K.
  451.  
  452. In addition to the memory for the program itself,  DESQview
  453. allocates approximately 2K to manage the program, 1K for  a
  454. script buffer, and 4K to store the contents of the screena  total
  455. of about 7K. If the Displays graphics information option  is ON
  456. (see below), this value may increase by 12K (to 19K), depending 
  457. on the type of display adapter you have on your system.
  458.  
  459. Many programs will use memory over the minimum you allocate to store
  460. more program data. So, you may want to increase this default 
  461. size in such cases. Also, some programs that store data in
  462. exPANDed  memory require more than the default size to take
  463. advantage of this feature for example, Framework III. See
  464. Appendix E for information on determining a program's memory
  465. requirements.
  466.  
  467. When a special DESQview "loader" is used to load the program, its
  468. size (2K-5K) is already included in the default memory size supplied
  469. in the program's DVP.
  470.  
  471. ~Subhead~ Working with a Graphics Program
  472.  
  473.  If the program ever displays graphics information on the screen,
  474. you must tell DESQview so it can reserve extra memory ~dash~
  475. because it takes more memory to save a graphics screen than it
  476. does to save a text screen.
  477.  
  478.  The Displays graphics information option specifies, when ON,
  479. that the program displays  some or all of its information as
  480. graphics.
  481.  
  482. ~Subhead~ Controlling Whether a Program Can Be Swapped
  483.  
  484.  When you try to start up a program, but there's not enough
  485. memory to load it, DESQview tries to swap out one or more
  486. programs to free up the memory it needs. You can control whether
  487. a program should be swapped out:
  488.  
  489.  The Can be swapped out of memory  (Y,N, Blank) option specifies,
  490. when ON, that the program can be  swapped out of memory to disk,
  491. RAM disk, or exPANDed memory when DESQview  needs memory to load
  492. a new program. This allows DESQview to have more  windows open
  493. than can fit in your PC's memory. Most programs can be swapped to
  494. disk. The major exception is communications programs.
  495. Communications programs should ususally have this option turned
  496. OFF
  497.  
  498. ~dash~ because they must remain in memory at all times to
  499. manage the communications line. However, in certain instances,
  500. they can be swappable. See page 210.
  501.  
  502. ~Item~ If you leave this option blank, DESQview will decide
  503. whether or not to swap based on the settings of other options.
  504.  
  505. ~Heading~ More About Allocating Memory
  506.  
  507.  This section is intended to provide the information that an
  508. advanced user or program developer needs to configure a program
  509. more precisely for DESQview. It's not necessary for you to read
  510. or understand this information to install or use a program in
  511. DESQview.
  512.  
  513. ~Subhead~ An Overview
  514.  
  515.  In addition to a minimum memory size, you can specify a maximum
  516. memory size:
  517.  
  518.  The Maximum Program Memory  Size (in K) field specifies the
  519. maximum amount of memory to ever  allocate to the program.
  520. Normally, this field is empty. If you specify  a maximum program
  521. size, it means that DESQview should allocate as  much memory as
  522. it can to the programbut no less than the minimum  and no more
  523. than the maximum.  The amount of memory the  program actually
  524. gets will depend on the configuration of your programs  and
  525. windows at the time you start up the program. The method DESQview 
  526. uses to allocate memory is:
  527.  
  528. First, DESQview determines how much memory it has available to load
  529. a program:
  530.  
  531. ~Item~ The largest available contiguous area of program memory
  532. (in the 0K- 640K area) is calculated.
  533.  
  534. ~Item~ If you have EMS4 or EEMS memory, the amount of unused
  535. EMS4/EEMS memory is calculated.
  536.  
  537. Then, using these values, DESQview determines if it's possible to
  538. supply at least the minimum amount of memory the program requires
  539. from your existing memory configuration.
  540.  
  541. If enough memory exists to load the program, DESQview then
  542. determines the actual amount of memory to allocate by examining
  543. the Maximum Program Size (in K) field:
  544.  
  545. ~Item~ If this field is empty, DESQview allocates exactly the
  546. minimum amount of memory requested.
  547.  
  548. ~Item~ If this field specifies a value (larger than the minimum),
  549. the program is allocated all the memory now available, up to the
  550. maximum specified.
  551.  
  552. If there isn't enough memory available to load the program,
  553. DESQview swaps out one or more programs (if possible) until it
  554. has freed up at least the minimum amount of memory needed:
  555.  
  556. ~Item~ If DESQview succeeds, the program is loaded according to
  557. the preceding step.
  558.  
  559. ~Item~ If DESQview fails, the program cannot be loaded ~dash~ see
  560. Appendices E and F.
  561.  
  562.  The memory freed up by swapping out programs may be either
  563. program memory or EMS4/EEMS memory (if you have EMS4 or EEMS
  564. memory)
  565.  
  566. ~dash~ depending on what programs were swapped out.
  567.  
  568. ~Subhead~ Allocating System Memory for a Program
  569.  
  570.  The sizes specified in the Memory Size (in K) and Maximum
  571. Program Memory Size (in K) fields only control how memory is
  572. allocated to the program itself. DESQview also requires memory to
  573. manage the program. This area (about 2K) is automatically
  574. allocated in addition to the program memory. Sometimes, however,
  575. you need more "system" memory than this:
  576.  
  577.  The System Memory (in K) field specifies the amount of
  578. additional system  memory to set aside for the program. This
  579. value should be zero unless  the program was written expressly
  580. for DESQviewsuch as built-in  DESQview programs and DESQview
  581. Companionsor unless you want to force the graphics screen 
  582. to be saved in program memory. Included in the
  583. automatically allocated area is room to save the interrupt
  584. vectors and the coprocessor status information:
  585.  
  586.  The Interrupts fields specify the range of interrupts to
  587. save normally 00H to FFH. Reducing this range both saves memory
  588. and reduces (very slightly) the time required to switch between
  589. programs. However, do not change these values unless you're
  590. absolutely sure you know the correct values. As a rule, only the
  591. program developer should change these values. The Uses math
  592. coprocessor option specifies, when ON, that DESQview should set 
  593. aside additonal system memory for the information needed to
  594. manage the coprocessor chip. Leaving this option OFF when the
  595. program doesn't  use it, both saves memory and reduces (very
  596. slightly) the time required to switch between programs. This
  597. setting has no effect on whether the program can use the
  598. coprocessor. That's up to the program.
  599.  
  600. Subhead~ Allocating Screen Memory for a Program
  601.  
  602. DESQview also requires additional memory to save what's on the
  603. screen:
  604.  
  605. The Text Pages field specifies the amount of memory to set aside
  606. for the information on your screen when the program is operating
  607. in text mode but in pages not K (see below). This text screen
  608. area is where you screen's contents are stored when you switch
  609. away from the program or while the program is running in a small
  610. window.
  611.  
  612. The Graphics Pages field specifies the amount of memory
  613. to set aside for the information on your screen when the program
  614. is operating in graphics mode also in pages. This graphics screen 
  615. area is where you screen's contents are stored when you switch
  616. away from the program.
  617.  
  618. The Displays graphics information option is a shortcut for setting
  619. Graphics Pages.  When you turn this option ON, Graphics pages is set
  620. to 1 (or to the last nonzero value you entered previously). When you
  621. turn this option OFF, Graphics Pages is set to zero.
  622.  
  623. Information that appears on your video display screen is written
  624. there by your display adapter board, in one of two ways: as text
  625. or as graphics. All display adapters can display text. Only some
  626. can display graphics as well.
  627.  
  628. Normally, a display adapter only displays one screen's worth of
  629. information, since that's all you can see. However, some display
  630. adapters can maintain several screens' worth of information at one
  631. Time and switch instantly between them. When a display adapter does
  632. this, each screens's worth is called a page. The size of a page
  633. varies from as little as 4K to as much as 128K. And, since some display
  634. adapters  support multiple graphics pages, the total graphics screen
  635. that DESQview must manage can be quite largeup to 256K in size.
  636.  
  637. ~Subhead~ Allocating Memory for "Text Pages"
  638.  
  639.  "Text screen" memory is the area of memory in which all the
  640. program's "text pages" are saved ~dash~ and is always allocated
  641. out of the program memory area. Its size varies according to the
  642. type of display adapter you're using and the mode it's operating
  643. in, as shown in the table on the following page.
  644.  
  645.  Memory Allocation for a "Text Screen"
  646.  
  647. ~Begin Table~ 
  648.  
  649. Number of Text Pages. Hercules(25x80), CGA(25x80), EGA/VGA(25-
  650. line mode), VGA(30-line-mode), EGA/VGA(43-line mode), VGA(50-
  651. line-mode), VGA(60-line-mode)
  652.  
  653.  
  654. 1, 4K, 4K, 4K, 5K, 7K, 8K, 10K
  655.  
  656. 2, 8K, 8K, 8K, 10K, 14K, 16K, 19K
  657.  
  658. 3, 12K, 12K, 12K, 15K, 21K, 24K, 29K
  659.  
  660. 4, 16K, 16K, 16K, 19K, 27K, 32K, 38K
  661.  
  662. ~End Table~ 
  663.  
  664. Unless you're sure the program uses multiple "text pages" (almost
  665. none do ~dash~ the only significant exception being BASIC), leave
  666. Text Pages set to 1 ~dash~ its normal default value. Otherwise,
  667. set it to the number of "text pages" the program uses.
  668.  
  669. When you have a program that's written expressly for DESQview,
  670. and Text Pages is set to 1, DESQview may allocate less space than
  671. indicated in the table because, in such cases, DESQview allocates
  672. only the amount of memory required to hold the largest screen
  673. that the program can display ~dash~ namely, twice the product of
  674. Maximum Height and Maximum Width (see page 127). For example, if
  675. the maximum height/width is specified as 10,60, DESQview would
  676. allocate about 1,200 bytes (2x10x60) rather than 4K. (When Text
  677. Pages is 2 or more, DESQview always allocates the amount of
  678. memory indicated in the table.)
  679.  
  680. ~Subhead~ Allocating Memory for "Graphics Pages"
  681.  
  682.  "Graphics screen" memory is the area of memory in which all the
  683. program's "graphics pages" are saved. Its size varies according
  684. to the type of display adapter you're using and the mode it's
  685. operating in. Determining the amount of memory allocated to a
  686. "graphics screen" is more complicated than for a "text screen"
  687. ~dash~ because its size can vary dynamically (as the program
  688. runs) from 16K to 256K. To accommodate this, DESQview tries to
  689. save "graphics screens" in exPANDed memory:
  690.  
  691. ~Item~ If exPANDed memory exists and enough is available to save
  692. the "graphics screen," DESQview uses exPANDed memory. In this
  693. case, the full graphics image remains on the screen even when you
  694. switch away from the program ~dash~ and thus can be viewed
  695. simultaneously with other windows (for most EGA and VGA modes),
  696. even though the program isn't running.
  697.  
  698. ~Item~ If exPANDed memory doesn't exist or enough isn't
  699. available, when you switch away from the program, a "graphics
  700. curtain" is drawn over the screen and the "graphics screen" is
  701. swapped out to RAM disk or hard disk.
  702.  
  703. If you don't have exPANDed memory, and you want the "graphics
  704. screen" stored in program memory, set System Memory (in K) large
  705. enough to hold the largest "graphics screen" the program can ever
  706. have. (There is no value in taking this approach if you do have
  707. exPANDed memory.)
  708.  
  709. The table below shows the range of memory sizes that a "graphics
  710. page" can have. Although Hercules and CGA display adapters have
  711. several modes, DESQview always allocates 64K to a Hercules
  712. display adapter and 16K to a CGA display adapter. EGAs and VGAs,
  713. however, have a wider range of modes which programs can switch
  714. between. DESQview accommodates such behavior by managing EGA and
  715. VGA memory dynamically ~dash~ that is, by adapting to the
  716. changing behavior of the program rather than permanently
  717. allocating a fixed-size area (unless you've allocated the
  718. "graphics screen" in program memory).
  719.  
  720.  Memory Allocation for a "Graphics Screen"
  721.  
  722. Number of Graphics pages   Program Memory Allocated
  723.  Hercules(graphics mode), CGA~dagger~(graphics mode), EGA/VGA
  724. (medium resolution), EGA/VGA(high resolution)
  725.  
  726. 1, 64K, 16K, 64K, 128K
  727.  
  728. 2, 64K,  N/A, 128K, 256K
  729.  
  730. ~End Table~ 
  731.  
  732. ~Table Note~   All sizes in this table are approximate.
  733.  
  734. ~Begin footnote~
  735.  
  736. Includes EGAs when operating in CGA-compatibility mode.
  737.  
  738. ~End footnote~
  739.  
  740. If the program doesn't use graphics, set Graphics Pages to zero
  741. or turn OFF the Displays graphics information option (both of
  742. which have the same effect). If the program does use graphics,
  743. set Graphics Pages to 1 or turn ON the Displays graphics
  744. information option (both of which have the same effect). Don't
  745. set Graphics pages to 2 unless you're absolutely sure the program
  746. uses two "graphics pages".
  747.  
  748. The value in Graphics Pages (or the setting of the Displays
  749. graphics information option) only affects whether the screen is
  750. properly saved and restored when you switch away to another
  751. program and then switch back. So, if you have a program that
  752. displays graphics information, but you don't want to save it when
  753. you switch away, just set Graphics Pages to zero (or turn OFF the
  754. Displays graphics information option). This is especially useful
  755. for programs that can quickly redraw their graphics information
  756. ~dash~ such as Lotus 1-2-3.
  757.  
  758. ~Subhead~ Allocating a Scripts Buffer for a Program
  759.  
  760.  DESQview requires memory to save a program's scripts ~dash~ if
  761. any:
  762.  
  763.  The Script Buffer Size field specifies the amount of memory to
  764. set aside for the Program Scripts buffer (see page , page , and
  765. Appendix A). The default is 1K, which is generally enough for 20
  766. or more routine scripts. 
  767.  
  768. ~Subhead~ Managing Howa Program UsesExpanded Memory
  769.  
  770.  DESQview supports EMS 3.2 , EMS4 exPANDed memory and enhanced
  771. exPANDed (EEMS) memory. EMS memory can only be used as data
  772. storage ~dash~ for programs that explicitly know about and use
  773. EMS memory for data (such as 1-2-3 Release 2, FrameworkIII, and
  774. so forth) or as a "swapping" area.
  775.  
  776. Some programs that use exPANDed memory to store data immediately
  777. grab all available exPANDed memory when they start up. Once a
  778. program takes exPANDed memory for itself, it can't be used for
  779. other purposes, until the program gives it back ~dash~ which,
  780. most likely, won't happen until you close it down. To solve this
  781. problem, you can limit a program's exPANDed memory:
  782.  
  783. ~Heading~ Controlling a Program's Behavior
  784.  
  785.  DESQview allows you to control many aspects of a program's
  786. behavior. 
  787.  
  788. ~Subhead~ Controlling a Program's Appearance
  789.  
  790.  You can control a program's appearance on the screen:
  791.  
  792.  The Initial Mode field is normally blankmeaning that,  
  793. when DESQview starts up or switches to the program, it should
  794. display the program in whatever mode DESQview is in at the
  795. time, if possible. You may, if necessary, specify the hardware
  796. video mode (in hex) that DESQview should switch to when the
  797. program starts up or when it becomes the current (foreground)
  798. program (see table). This is primarily of use to program
  799. developers, except:
  800.  
  801. ~dash~  On a CGA, you can force a program to switch to color by
  802. setting Inital Mode to 3
  803.  
  804. ~dash~ which is especially useful if you normally run programs in mode 6.
  805.  
  806.  ~dash~  If you have certain brands of Hercules-compatible
  807. display adapters, which don't let you detect their mode, you can
  808. set Initial Mode to the mode the program uses.  (Otherwise, in
  809. such cases you must load DVHERC.COM ~dash~ see Appendix G.)
  810.  
  811.  ~dash~  If you have two displays, you can force a program to run
  812. on the one DESQview isn't running on (the alternate monitor). The
  813. alternate monitor can only run multiple applications in full
  814. screen  mode (no small windows).
  815.  
  816.  ~dash~  If are using two displays, the Initial Mode should
  817. specify the video mode for the monitor you use when you start
  818. DESQview (the DESQview monitor). If you start DESQview from a
  819. monochrome monitor, and you want to use the CGA, VGA or EGA
  820. monitor as the alternate monitor, set initial mode to 3.
  821.  
  822.  ~dash~   Conversely, if you start DESQview on a CGA, VGA or EGA
  823. monitor, and want to switch to the monochrome monitor, set
  824. Initial Mode to 7.
  825.  
  826. Begin Table
  827.  
  828. Basic Video Modes
  829.  
  830. Initial Mode ~footnote1~ (in hex)
  831. Type
  832. Resolution ~footnote2~
  833. Color or Black and White ~footnote3~
  834.  
  835.  
  836. 0,1,  ~dash~ ,  ~dash~ ,  ~dash~ 
  837.  
  838. 2, Text, 25x80, B&W
  839.  
  840. 3, Text, 25x80, Color
  841.  
  842. 4, Graphics, 200x320, Color
  843.  
  844. 5, Graphics, 200x320, Color
  845.  
  846. 6, Graphics, 200x640, B&W
  847.  
  848. 7, Text, 25x80, Monochrome
  849.  
  850. 8-20, Graphics, Various, Both
  851.  
  852. 21, Graphics, 348x720, B&W
  853.  
  854. 22, Graphics, 347x720, B&W
  855.  
  856. ~End Table~ 
  857.  
  858. ~footnote1~ Modes 7 to 20 are EGA/VGA graphics modes--refer to your
  859. EGA or VGA technical manual for more information. Modes 21 and 22
  860. only apply to a Hercules display adapter. 21 selects graphics
  861. page 1 and 22 selects page 2.
  862.  
  863.  DESQview tries to avoid switching video modes. So, when you tap
  864. the DESQ key, DESQview tries to display the DESQview menu in the
  865. mode the current window is in. (This may result in the DESQview
  866. menu appearing in black and white or may cause the screen to
  867. change color palettes--see Appendix A.) If this isn't
  868. possible, DESQview draws the "graphics curtan" over the current
  869. window, then switches to a mode in which it can display the
  870. DESQview menu. Similarly, if you switch between programs in
  871. incompatible modes, DESQview curtains the one you switch away
  872. from.
  873.  
  874. ~footnote2~ The resolution of text modes 2 and 3 may be higher than 25x80
  875. if you have an EGA or VGA DISPLAY adapter. EGAs can display 25x80
  876. or 43x80 in these modes. VGAs can display 25x80, 30x80, 50x80,
  877. and 60x80. See page 122.
  878.  
  879. ~footnote3~ "B&W" indicates that information is being displayed in
  880. monochrome on a color display. "Monochrome" indicates that a
  881. monochrome display is being used.
  882.  
  883.  The Uses its own colors option specifies, when ON, that the
  884. program has its own color scheme and that you wish to use this
  885. color scheme instead of the window colors that DESQview normally
  886. provides for the windowsee Appendix A. DESQview (logically)
  887. forces this option to ON if the Writes directly to screen option
  888. is ON. For more information on Uses its own colors, please see
  889. page.
  890.  
  891. ~Subhead~ Controlling a Program Window's Size and Position
  892.  
  893.  You can control the program window's size and position by
  894. filling in the Window Position fields:
  895.  
  896.  The Maximum Height/Width fields specify the maximum height and
  897. width that the window can ever have. Unless the program is well
  898. behaved (see page ) or written expressly for DESQview, the
  899. maximum height/width should not be set to less than 25,80. (If
  900. the program runs only in graphics video modes, and never uses
  901. text modes, set the maximum height/width to 0,30 to save screen
  902. memorysee pages -).
  903.  
  904. The Starting Row/Column/Height/Width fields
  905. specify the initial position on the screen where the window for
  906. the program should be placed, and its height and width. Row and
  907. Column specify the position of the top-left corner of the window
  908. (excluding its frame, if any). You may set Starting Height to the
  909. number of lines desired for text modes of EGA or VGA adapters.
  910. Setting this value will cause DESQview to switch the screen to
  911. the proper mode when the window is opened, as well as when you
  912. switch back to it. For programs with Writes Directly to Screen
  913. set OFF, you must also set Uses its own colors ON. Both Starting
  914. Height and Maximum Height should be set to 43 for EGA and 50 for
  915. VGA. These are the only currently supported values. ~Item~ If
  916. these fields are left empty, the window is assigned one of the
  917. nine predefined window positions (see page 52 and Appendix A)
  918.  
  919.  Row and column offsets are counted from 0. So, the top-left
  920. corner of the screen is 0,0. There are two types of windows:
  921.  
  922. ~Item~ A full-screen window must start at 0,0. The standard full-
  923. screen windows are 0,0,25,80 for a 25x80 window; 0,0,43,80 for a
  924. 43x80 window, and so forth.
  925.  
  926. ~Item~ A small window must start at 1,1 or greater, and have a
  927. height and width that allow room for a frame. On a 25x80 screen,
  928. the largest "small" window is therefore 1,1,23,78, and so forth.
  929.  
  930.  Programs written expressly for DESQview may create multiple
  931. windows, override the window position settings you specify, or
  932. create windows without frames. When a program has multiple
  933. windows, the Window Position settings apply to the main (task)
  934. window. If the main window is a "small" window, but has no frame,
  935. it may be positioned at 0,0.
  936.  
  937. ~Subhead~ Using a Shared Program
  938.  
  939.  A shared program is a program written expressly for DESQview
  940. that can be used by several other programs simultaneously:
  941.  
  942.  The Shared Program Pathname field specifies the DOS file
  943. containing the shared program. The Shared Program Data field
  944. specifies data to be sent to the shared program. These fields are
  945. primarily for use by program developers. You cannot load a
  946. standard, off-the-shelf-program as a shared program. Leave these
  947. fields empty unless you have a program that explicitly instructs
  948. you to use them. 
  949.  
  950. ~Subhead~ Controlling How a Program is Closed Down
  951.  
  952.  You can control how a program is closed down:
  953.  
  954.  The Allow Close Window command option specifies, when ON, that
  955. the program can be closed down using the Close Window menu. If
  956. this option is OFF, the program can only be closed down by
  957. performing the program's quit command. Furthermore, the DESQview
  958. Quit command won't be available as long as any program that has
  959. this option is set to ON is running. (This prevents accidentally
  960. closing the program or quitting DESQview.) The Close on exit
  961. option specifies, when ON, that when the program running in the
  962. window returns control to DOSusually as a result of your
  963. performing the program's quit commandDESQview should
  964. automatically perform the Close Window command. If this option is
  965. OFF, when you perform the program's quit command, control returns
  966. to DOS and the DOS prompt appears. ~Item~ If this option is left
  967. blank, DESQview will decide whether or not to close the window on
  968. exit based on the following criteria:
  969.  
  970.  ~dash~  If the program was loaded by DESQview the window will
  971. close on exit.
  972.  
  973.  ~dash~  If the program was loaded by DOS the window will not
  974. close on exit.
  975.  
  976.  See Controlling How a Program is Loaded, page 115.
  977.  
  978. ~Subhead~ Controlling Whether a Program does Background Processing
  979.  
  980.  You can control whether or not a DESQview should try to let a
  981. program run in background when you switch away from it.
  982.  
  983.  The Runs in background (Y,N, blank) option specifies whether the
  984. program can continue to run in background when you switch away
  985. from it. By default, this option is set to blank which indicates
  986. that DESQview should decide when the program will be permitted to
  987. run in background and when it won't. You can explicitly turn this
  988. option ON or OFF, if you want.
  989.  
  990. It's usually best to leave this
  991. option blank. How DESQview determines whether or not to run a
  992. program in background is somewhat hardware/software dependent:
  993. DESQview can usually tell whether a program is actively
  994. processing/polling for inputor just waiting aroundand adjust time
  995. slicing accordingly. In addition, the way a program writes to the
  996. screen and whether or not you are running on a 80386 affects
  997. background processing when you switch away from a window:
  998.  
  999. ~dash~ If you are running on a 80386 with QEMM-386 and a program that
  1000. writes directly to the screen is virtualized, DESQview will allow
  1001. it to run in the background when you switch away from that
  1002. window. 
  1003.  
  1004.  ~dash~  If you are not running on a 80386 with QEMM-386 and the
  1005. Writes text directly to screen option for the program is set ON,
  1006. or the program is displaying graphics information, DESQview will
  1007. freeze the program when you switch away from it. 
  1008.  
  1009. Unless Runs in background is explicitly set OFF, the program will
  1010. always run in the background if Writes text directly to screen is
  1011. set OFF.
  1012.  
  1013. There is another parameter you can enter in the Runs in
  1014. Background field, D. If you enter D, the program will run in
  1015. background except when any DOS calls are being made. This is a
  1016. seldom-used option that is useful mainly for stabilizing certain
  1017. terminal emulation programs. If you enter D, it can result in the
  1018. program not running in background most of the time, depending on
  1019. what the foreground ~dash~ and other windows running in
  1020. background ~dash~ are doing at the DOS level.
  1021.  
  1022.  The settings for background processing you make here may be
  1023. temporarily overriden from the Tune Performance options available
  1024. from the Rearrange menu. See page 54.
  1025.  
  1026. ~Subhead~ Sharing the Processor
  1027.  
  1028.  If you want maximum performance in your foreground program, you
  1029. do not want other programs to be running in background.
  1030.  
  1031.  The Share CPU when foreground option specifies, when Yes (Y),
  1032. that you allow other programs to run in background when this
  1033. program is executing in the foreground. If you enter No (N) to
  1034. Share CPU when foreground, DESQview will freeze all programs
  1035. running in background when the foreground program is executing.
  1036. When the foreground program is not executing (for example,
  1037. waiting for a keyboard character), then background programs will
  1038. be allowed to run. You can dynamically change this option, using
  1039. DESQview's Tune Performance command (See page 54).
  1040.  
  1041. ~Subhead~ Using a Program's Colors
  1042.  
  1043.  You can control how DESQview displays a program in a window. The
  1044. Uses its own colors option controls how certain aspects of the
  1045. screen display are managed. If set to No (N), changes to the
  1046. screen such as character set (font) or palette are disregarded.
  1047. (They are logically remembered by the program, but not allowed to
  1048. occur.) If set to Yes (Y), the font or palette changes the
  1049. program makes are allowed and will take effect.
  1050.  
  1051.  The Uses its own colors option specifies, when ON, that the
  1052. program has its own color scheme and that you wish to use this
  1053. color scheme instead of the one that DESQview normally provides
  1054. for the window (See Appendix A ). The DESQview color scheme uses
  1055. the standard IBM palette. If, outside of DESQview, you like the
  1056. colors your program uses, you should select Yes (Y) for the Uses
  1057. its own colors option. If you'd like DESQview to display your
  1058. program using colors from the DESQview palette, then you should
  1059. select No (N).
  1060.  
  1061. ~dash~  Graphics programs often have their own
  1062. palette. So that your graphics program has the same look and feel
  1063. outside and inside DESQview, DESQview will use the palette of
  1064. your graphics program when the program is zoomed to full screen.
  1065.  
  1066.  ~dash~  As you run multiple graphics programs in small windows
  1067. in DESQview 386, you will notice that your programs often change
  1068. colors ~dash~ when you bring up the DESQview menu or when you
  1069. switch windows. The reason is that DESQview sets the entire
  1070. display according to the palette specified by the foreground
  1071. program.
  1072.  
  1073.  ~dash~  Two graphics programs, with palettes different from the
  1074. IBM palette, are Microsoft Windows and Digital Research's GEM.
  1075. Not only have these two programs redefined the palette ~dash~ but
  1076. you'll notice that when you have Ventura Publisher (a GEM
  1077. program) and Microsoft Excel (a Windows program) on the screen at
  1078. the same time in small windows, switching to Excel will cause
  1079. Ventura to change from black characters on a white background to
  1080. white colors on a black background.
  1081.  
  1082.  ~dash~  If you find that the graphics programs in background
  1083. windows are unreadable or you are bothered by the colors, you can
  1084. fine-tune the colors of DESQview's palette and menus.
  1085.  
  1086. ~Subhead~ Using the DESQview Palette Program
  1087.  
  1088.  To fine-tune the colors of your program and of DESQview menus,
  1089. you have the following DESQview tools:
  1090.  
  1091.  ~dash~  The DESQview Palette program (DVPAL.COM) is included on
  1092. your DESQview diskette. This program lets you change the palette
  1093. for DESQview menus and those used by programs with Uses it own
  1094. colors set to No. Begin footnote
  1095. You will have to add DESQview Palette to DESQview's Open Window
  1096. menu using the Add a Program command.
  1097. End footnote
  1098.  
  1099.  ~dash~  Using DESQview Palette, you can create your own palette
  1100. by choosing the intensity of blue, green and red in each color of
  1101. the palette, restore the original DESQview palette, make the
  1102. DESQview palette the same as the GEM or Windows palette, load and
  1103. save palettes, and set blinking on or off.
  1104.  
  1105. ~Begin footnote~
  1106.  
  1107. Before using DESQview Palette, use Change a Program to set the
  1108. Uses it own colors option to No and the Virtualize text/graphics
  1109. to Yes for the graphics programs whose colors you wish to change.
  1110. Then open these graphics programs and put them in small windows
  1111. so that you can see how their colors change as you change the
  1112. palette. 
  1113.  
  1114. ~End footnote~
  1115.  
  1116.  ~dash~  You may save your personal palette to the default
  1117. filename, DVSETUP.DV and it will be loaded each time you start
  1118. DESQview.
  1119.  
  1120.  ~dash~  DESQview Setup, Advanced Option, Colors lets you change
  1121. the color scheme of each text window displayed using the DESQview
  1122. palette and change the color scheme of DESQview's menus.
  1123.  
  1124. See page 57 for additional usage information for DESQview
  1125. Palette.
  1126.  
  1127. If you change the DESQview palette , so that it is the same as
  1128. Microsoft Window's palette, DESQview's menus will turn red. You
  1129. can make these DESQview menus blue again by using the Colors
  1130. option in DESQview Setup.
  1131.  
  1132. ~Subhead~ Controlling How Keys Are Sent to a Program
  1133.  
  1134.  You can control how keys are sent to the program. DESQview has a
  1135. 128-character buffer where it stores each key you type ~dash~ or
  1136. each key that's played back by a script or transferred by the
  1137. Transfer command.
  1138.  
  1139.  The Keyboard conflict (0-F) option controls how DESQview manages
  1140. this buffer and sends keys to the program.Unless you are the
  1141. program's developer, the only way to determine the proper level
  1142. for a program is to experiment. Set the level to 0 and play back
  1143. a long script or transfer a large block of information. If
  1144. keystrokes are dropped, enter a different value and try again.
  1145. There are 16 possible values for this setting: 0 is the default
  1146. setting. It allows DESQview to buffer keys to maintain rapid
  1147. type-ahead and present them to the application in a manner that
  1148. best supports DESQview's macros and mark and transfer features.
  1149. 1, 2 and 3. These values modify the way DESQview manages keyboard
  1150. input to the application. Keystrokes are still buffered, but the
  1151. rate at which they are sent (and other characteristics) are
  1152. changed. 4. instructs DESQview to not buffer keystrokes and to
  1153. modify its behavior somewhat when switching away from an
  1154. application.
  1155.  
  1156. ~dash~  The important idea with respect to keyboard
  1157. conflict 4 is that it should be used with applications which
  1158. obtain their keyboard input directly from the BIOS data area
  1159. keyboard buffer. A significant symptom of the need for this
  1160. keyboard conflict setting is a background application which
  1161. appears to be getting the foreground application's keystrokes, or
  1162. keyboard input which seems to be "created" for you.
  1163.  
  1164.  ~dash~  This setting also works in conjunction with Advanced
  1165. Setup: Keyboard's maintain shift state option in the following
  1166. way. If you have instructed DESQview to maintain shift states,
  1167. then for each application with keyboard conflict 4 set (or its
  1168. variations), DESQview will save and restore the full BIOS
  1169. keyboard buffer.
  1170.  
  1171. 5, 6 and 7. These values combine the keyboard management of
  1172. keyboard conflict 4 with those of keyboard conflicts 1, 2 and 3
  1173. respectively.
  1174.  
  1175. 8. Some 3270 and 5250 emulation programs and ill-behaved "pop-
  1176. ups" are known to be helped with this setting. An undesirable
  1177. side-effect of this setting is that keystrokes may occasionally
  1178. be lost. Your need for the program that may be helped by this
  1179. setting will have to be balanced against this side-effect.
  1180.  
  1181. 9, A and B. These values combine the keyboard management of
  1182. keyboard conflict 8 with those of keyboard conflicts 1, 2 and 3
  1183. respectively.
  1184.  
  1185. C. This keyboard conflict setting combines the effects of
  1186. settings 4 and 8.
  1187.  
  1188. D, E and F. These values combine the keyboard management of
  1189. keyboard conflict 4 and 8 with those of keyboard conflicts 1, 2
  1190. and 3 respectively.
  1191.  
  1192.  Also see Appendix H.
  1193.